﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddEditGuest.ascx.cs"
    Inherits="Hotel.UserControls.AddEditGuest" %>


<table cellpadding="2" cellspacing="3" class="Auto_Style1">

    <tr>
        <td>
            First Name 
            
        </td>
          <td>
              <asp:TextBox ID="FirstNameTextBox" runat="server"     /> 
              <asp:RequiredFieldValidator ID="txtNameIRq" runat="server" ErrorMessage="First Name is Required"
                    SetFocusOnError="true"
                    ControlToValidate="FirstNameTextBox" ValidationGroup="save" Display="None"></asp:RequiredFieldValidator>

        </td>
          <td>Last Name
            
        </td> 
         <td>
        <asp:TextBox ID="LastNameTextBox" runat="server"
            Text='<%# Bind("LastName") %>' />
             <asp:RequiredFieldValidator ID="LastNameRq" runat="server" ErrorMessage="Last Name is Required"
                    SetFocusOnError="true"
                    ControlToValidate="FirstNameTextBox" ValidationGroup="save" Display="None"></asp:RequiredFieldValidator>
       </td>
      
            
        </td>

    </tr>
    <tr>
        <td>
    BirthDate:
       
        </td>
         <asp:TextBox ID="BirthDateTextBox" runat="server"
            Text='<%# Bind("BirthDate") %>' />
          <td>
        </td>
       
        <td>
        Age:
        </td>
        <td>
        <asp:TextBox ID="AgeTextBox" runat="server" Text='<%# Bind("Age") %>' />
        </td>
     </tr>

    <tr><td>Gender:</td><td><asp:TextBox ID="GenderTextBox" runat="server" Text='<%# Bind("Gender") %>' /></td>
        <td>Nationality:
</td>
        <td>
                
                <asp:TextBox ID="NationalityTextBox" runat="server"
            Text='<%# Bind("Nationality") %>' /></td></tr>
        
        
        
                    <tr>
                        <td>Email</td>
                        <td><asp:TextBox ID="EmailTextBox" runat="server" Text='' /></td>
                        <td> CountryCode</td>
                        <td>  <asp:TextBox ID="CountryCodeTextBox" runat="server"
            Text='' /></td>
                    </tr>
                    <tr>
                        <td>Phone:</td>
                        <td>
        <asp:TextBox ID="PhoneTextBox" runat="server" Text='<%# Bind("Phone") %>' />

                               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Phone Number is Required"
                    SetFocusOnError="true"
                    ControlToValidate="PhoneTextBox" ValidationGroup="save" Display="None"></asp:RequiredFieldValidator>
                        </td>
                        <td>Occupation:</td>
                        <td>

        <asp:TextBox ID="OccupationTextBox" runat="server"
            Text='' /></td>
                    </tr>
                    <tr>
                        <td>Address:</td>
                        <td>
        <asp:TextBox ID="AddressTextBox" runat="server" Text='' /></td>
                        <td>ModeOfTravel:</td>
                        <td>
<asp:TextBox ID="ModeOfTravelTextBox" runat="server"
    Text='<%# Bind("ModeOfTravel") %>' />

        </td>
                    </tr>
                    <tr>
                        <td style="display:none">PurposeOfVisit:
       </td
                        <td> <asp:TextBox ID="PurposeOfVisitTextBox" runat="server"
            Text='' /></td>
                        <td>HasProof</td>
                        <td> 
                            <asp:CheckBox ID="ChkProof" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
PassportNumber:</td>
                        <td> <asp:TextBox ID="txtPassportNo" runat="server"
            Text='' /></td>
                        <td>
ComingFrom:</td>
                        <td> <asp:TextBox ID="txtComingFrom" runat="server"
            Text='' /></td>
                    </tr>
                    <tr>
                        <td>ProceedingTo:
</td>
                        <td><asp:TextBox ID="txtProceedingTo" runat="server"
            Text='' /></td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                </table>



